package cn.zebra.dev.admin.module.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class ProductSkuDTO {

    private Long id;

    @ApiModelProperty(value = "Sku编码")
    private String productSkuSn;

    @ApiModelProperty("商品sku规格图片")
    private String productSkuImage;

    @ApiModelProperty("sku名称")
    private String productSkuName;

    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("销售价")
    private BigDecimal marketPrice;

    @ApiModelProperty("单价(销售价)")
    private BigDecimal unitPrice;

    @ApiModelProperty("重量kg")
    private BigDecimal weight;

    @ApiModelProperty("体积m³")
    private BigDecimal volume;

    @ApiModelProperty("总数量(库存)")
    private Long totalNum;

    @ApiModelProperty("是否显示")
    private Boolean showFlag;

    @ApiModelProperty("sku规格内容")
    private List<ProductSkuAttributeDTO> attrEntities;
}
